import { createApp } from "vue";
import { createPinia } from "pinia";
import { createI18n } from "vue-i18n";
import messages from "./locales";
import vueClipboard from "vue3-clipboard";
import router from "./router";
import app from "./App.vue";

import "bootstrap-icons/font/bootstrap-icons.css";
import "bootstrap/dist/css/bootstrap.min.css";
import "bootstrap";

createApp(app)
  .use(createPinia())
  .use(createI18n({ locale: "en-US", fallbackLocale: "en-US", messages: messages }))
  .use(vueClipboard, { autoSetContainer: true, appendToBody: true })
  .use(router)
  .mount("#app");
